package com.itbour.dao.yjx.trade;

import java.util.List;
import java.util.Map;

import com.itbour.dto.trade.OrderInfoDto;
import com.itbour.dto.trade.OrderDetailInfoDto;
import com.itbour.dto.trade.PartnerInfoDto;
import com.itbour.dto.yjx.trade.YjxUserPointsHis;




/**
 * 	@author 李琦
 */

public interface YjxOrdersDao {

	public int selectOrdersCnt(Map<String,Object> param);
	public List<OrderInfoDto> selectOrdersInfo(Map<String,Object> param);
	public void deleteOrderInfoLogic(Map<String,Object> param);
	public void insertOrderInfo(Map<String,Object> param);
	public void updateOrderInfoById(Map<String,Object> param);
	
	public int selectDetailsCnt(Map<String,Object> param);
	public List<OrderDetailInfoDto> selectDetailsInfo(Map<String,Object> param);
	public void deleteDetailInfoLogic(Map<String,Object> param);
	public void insertDetailInfo(Map<String,Object> param);
	public void updateDetailInfoById(Map<String,Object> param);
	
	public List<PartnerInfoDto> selectPartnerInfo(Map<String,Object> param);
	
	public void insertStateHisInfo(Map<String,Object> param);
	
	public void insertNotifyUserlInfo(Map<String,Object> param);
	
	/**
	 * 一键秀  用户积分一览管理
	 */
	List<YjxUserPointsHis> getPtsHisInfo(Map<String, Object> parm);// 积分列表
	int getPtsHisInfoCnt(Map<String, Object> parm);// 积分列表个数
	
}
